# pragma once
# include "ui_Connection.h"
# include <QWidget>
# include <functional>

class MyDx11;
struct ID3D11Device;
struct ID3D11DeviceContext;
struct ID3D11Texture2D;

class ConnectionWindow : public QWidget {
	Q_OBJECT

public:
	explicit ConnectionWindow(QWidget* parent = nullptr);

	void log(const QString& _message);

	~ConnectionWindow();
signals:
	void connectButton(short _port);
	void messageInput(const QString& _message);
protected slots:
	void messageInputSubmit();
	void connectButtonClick();
private:
	Ui::ConnectionWindow m_ui;
};
